package cn.iocoder.yudao.module.journalism.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

/**
 * news 错误码枚举类
 * <p>
 * 新闻，使用 3-001-000-000 段
 */
public interface ErrorCodeConstants {


    ErrorCode CATEGORY_NOT_EXISTS = new ErrorCode(1_003_000_000, "error.1_003_000_000");
    ErrorCode CONTENT_NOT_EXISTS = new ErrorCode(1_003_000_001, "error.1_003_000_001");
    ErrorCode BANNER_NOT_EXISTS = new ErrorCode(1_003_000_002, "error.1_003_000_002");
    ErrorCode BANNER_I18N_NOT_EXISTS = new ErrorCode(1_003_000_003, "error.1_003_000_003");
    ErrorCode CONTENT_I18N_NOT_EXISTS = new ErrorCode(1_003_000_004, "error.1_003_000_004");
    ErrorCode CATEGORY_I18N_NOT_EXISTS = new ErrorCode(1_003_000_005, "error.1_003_000_005");
    ErrorCode I18N_HAS_EXISTS = new ErrorCode(1_003_000_006, "error.1_003_000_006");
}
